package com.horse.cloud.data.access.boss.entity;

import java.io.Serializable;
import java.util.Date;

/**
 *@create : Created by intelliJ IDEA
 *@author : bing.Pan
 *@e-mail : 15923508369@163.com
 *@gmdate : Mon Mar 26 16:16:44 CST 2018
 *@sidesc : This class corresponds to the database table CL_BOSS_USER
 */
public class ClBossUser  implements Serializable {

    /**
     *@comment : 主键ID
     *@sidesc  : CL_BOSS_USER.id
     */
    private long id;

    /**
     *@comment : 员工编号
     *@sidesc  : CL_BOSS_USER.user_number
     */
    private String userNumber;

    /**
     *@comment : 登陆姓名
     *@sidesc  : CL_BOSS_USER.login_name
     */
    private String loginName;

    /**
     *@comment : 员工真实名称
     *@sidesc  : CL_BOSS_USER.real_name
     */
    private String realName;

    /**
     *@comment : 密码
     *@sidesc  : CL_BOSS_USER.password
     */
    private String password;

    /**
     *@comment : 性别(W女,M男,U未知)
     *@sidesc  : CL_BOSS_USER.sex
     */
    private String sex;

    /**
     *@comment : 生日
     *@sidesc  : CL_BOSS_USER.birthday
     */
    private Date birthday;

    /**
     *@comment : 身份证号
     *@sidesc  : CL_BOSS_USER.id_card
     */
    private String idCard;

    /**
     *@comment : 员工职位
     *@sidesc  : CL_BOSS_USER.position
     */
    private String position;

    /**
     *@comment : 移动电话号码
     *@sidesc  : CL_BOSS_USER.mobile_phone
     */
    private String mobilePhone;

    /**
     *@comment : 电子邮件
     *@sidesc  : CL_BOSS_USER.email
     */
    private String email;

    /**
     *@comment : 入职时间
     *@sidesc  : CL_BOSS_USER.join_time
     */
    private Date joinTime;

    /**
     *@comment : 上次登录时间
     *@sidesc  : CL_BOSS_USER.last_login
     */
    private Date lastLogin;

    /**
     *@comment : 上次登录IP地址
     *@sidesc  : CL_BOSS_USER.last_ip
     */
    private String lastIp;

    /**
     *@comment : 总登录次数
     *@sidesc  : CL_BOSS_USER.sum_login
     */
    private Integer sumLogin;

    /**
     *@comment : 总在线时长
     *@sidesc  : CL_BOSS_USER.online_time
     */
    private String onlineTime;

    /**
     *@comment : 备注
     *@sidesc  : CL_BOSS_USER.detail_explain
     */
    private String detailExplain;

    /**
     *@comment : 状态,通用（N-未激活/不可用,T-正常,B-冻结,H-挂起,C-注销,D-删除）
     *@sidesc  : CL_BOSS_USER.status
     */
    private String status;

    /**
     *@comment : 创建人
     *@sidesc  : CL_BOSS_USER.create_user
     */
    private String createUser;

    /**
     *@comment : 创建时间
     *@sidesc  : CL_BOSS_USER.create_time
     */
    private Date createTime;

    /**
     *@comment : 修改人
     *@sidesc  : CL_BOSS_USER.update_user
     */
    private String updateUser;

    /**
     *@comment : 修改时间
     *@sidesc  : CL_BOSS_USER.update_time
     */
    private Date updateTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber == null ? null : userNumber.trim();
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public Date getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }

    public String getLastIp() {
        return lastIp;
    }

    public void setLastIp(String lastIp) {
        this.lastIp = lastIp == null ? null : lastIp.trim();
    }

    public Integer getSumLogin() {
        return sumLogin;
    }

    public void setSumLogin(Integer sumLogin) {
        this.sumLogin = sumLogin;
    }

    public String getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(String onlineTime) {
        this.onlineTime = onlineTime == null ? null : onlineTime.trim();
    }

    public String getDetailExplain() {
        return detailExplain;
    }

    public void setDetailExplain(String detailExplain) {
        this.detailExplain = detailExplain == null ? null : detailExplain.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    @Override
    public String toString() {
        return "ClBossUser{" +
                "id=" + id +
                ", userNumber='" + userNumber + '\'' +
                ", loginName='" + loginName + '\'' +
                ", realName='" + realName + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", idCard='" + idCard + '\'' +
                ", position='" + position + '\'' +
                ", mobilePhone='" + mobilePhone + '\'' +
                ", email='" + email + '\'' +
                ", joinTime=" + joinTime +
                ", lastLogin=" + lastLogin +
                ", lastIp='" + lastIp + '\'' +
                ", sumLogin=" + sumLogin +
                ", onlineTime='" + onlineTime + '\'' +
                ", detailExplain='" + detailExplain + '\'' +
                ", status='" + status + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}